%boxSizing{
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
}
@mixin borderRadius($radius){
  border-radius : $radius;
  -webkit-border-radius : $radius;
  -moz-border-radius : $radius;
}

.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,20,40,0.66);
  .modal-content{
    position: relative;
    top : 12%;
    left : 50%;
    width : 237px;
    height : 151px;
    background-color: #fbfbfb;
    margin-left: -113.5px;
    @include borderRadius(5px);
    padding: 20px;
    @extend %boxSizing;
  }
  .modal-header{
    text-align: center;
    color: #333333;
    font-size: 1.128em;
    padding-top: 15px;
    padding-bottom: 10px;
    .header-icon{
      width: 20px;
      height: 20px;
    }
    .modal-title{
      position: relative;
      top: -2px;
      margin-left: 4px;
    }
  }
  .modal-body{
    color: #999999;
    font-size: 0.752em;
    &.lower-body{
      text-align: center;
      margin-top: 30px;
    }
  }
  .modal-footer{
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    .footer-btn-group{
      width: 190px;
      margin: 0 auto;
      font-size: 0.75em;
      text-align: center;
      overflow: hidden;
      .center-btn{
        width: 75px;
        height: 22px;
        line-height: 22px;
        margin: 0 auto;
        border: 1px solid #3f6ee0;
        color: #3f6ee0;
        cursor: pointer;
      }
      .first-btn{
        width: 47%;
        height: 22px;
        line-height: 22px;
        border: 1px solid #3f6ee0;
        color: #3f6ee0;
        cursor: pointer;
        float: left;
      }
      .second-btn{
        width: 47%;
        height: 23px;
        line-height: 23px;
        background-color: #3f6ee0;
        color: white;
        cursor: pointer;
        float: right;
      }
    }
  }
  .modal-close{
    position: absolute;
    left : 50%;
    bottom : -46px;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    cursor: pointer;
  }
}

.hide{
  display: none;
}